import Vue from 'vue'
import VueRouter from 'vue-router'

// 1.安装插件
Vue.use(VueRouter)

//2.创建路由对象
const router = new VueRouter({
  routes: [
    {
      path: '',
      redirect: '/home',
    },
    {
      
    }
  ]
})

// 3、导出router
export default router